package it.wyx.springbootkafkaproducer.service.bsj;

/**
 * @author wyx
 * @version V 1
 * @Date 2022/12/6
 */
public class BsjMiniAppPkgCreatedResult {
  /**
   * 随机ID， kafka消息投递唯一编号
   */
  private String uuid;
  /**
   * SMAMO 订单号
   */
  private String orderId;
  /**
   * 外部订单号
   */
  private String externalOrderId;
  /**
   * ECF支付单号
   */
  private String paymentNo;
  /**
   * 服务包状态（例：0-未使用）
   */
  private Integer packageStatus;
  /**
   * 服务包ID
   */
  private String packageId;
  /**
   * 服务包到期时间（例：1164691264437）
   */
  private Long validTo;
  /**
   * 服务包生效时间（例：1164691264437）
   */
  private Long packageActiveTime;
  /**
   * 消息发送时间（例：1164691264437）
   */
  private Long msgCreateTime;

  public String getUuid() {
    return uuid;
  }

  public void setUuid(String uuid) {
    this.uuid = uuid;
  }

  public String getOrderId() {
    return orderId;
  }

  public void setOrderId(String orderId) {
    this.orderId = orderId;
  }

  public String getPaymentNo() {
    return paymentNo;
  }

  public void setPaymentNo(String paymentNo) {
    this.paymentNo = paymentNo;
  }

  public Integer getPackageStatus() {
    return packageStatus;
  }

  public void setPackageStatus(Integer packageStatus) {
    this.packageStatus = packageStatus;
  }

  public String getPackageId() {
    return packageId;
  }

  public void setPackageId(String packageId) {
    this.packageId = packageId;
  }

  public Long getValidTo() {
    return validTo;
  }

  public void setValidTo(Long validTo) {
    this.validTo = validTo;
  }

  public Long getPackageActiveTime() {
    return packageActiveTime;
  }

  public void setPackageActiveTime(Long packageActiveTime) {
    this.packageActiveTime = packageActiveTime;
  }

  public Long getMsgCreateTime() {
    return msgCreateTime;
  }

  public void setMsgCreateTime(Long msgCreateTime) {
    this.msgCreateTime = msgCreateTime;
  }

  public String getExternalOrderId() {
    return externalOrderId;
  }

  public void setExternalOrderId(String externalOrderId) {
    this.externalOrderId = externalOrderId;
  }

  @Override
  public String toString() {
    return "MiniAppPkgCreatedResult{" +
        "uuid='" + uuid + '\'' +
        ", orderId='" + orderId + '\'' +
        ", externalOrderId='" + externalOrderId + '\'' +
        ", paymentNo='" + paymentNo + '\'' +
        ", packageStatus=" + packageStatus +
        ", packageId='" + packageId + '\'' +
        ", validTo=" + validTo +
        ", packageActiveTime=" + packageActiveTime +
        ", msgCreateTime=" + msgCreateTime +
        '}';
  }
}
